package com.csf.project.service;

import com.csf.project.entity.User;

public interface AuthService {

    String encodePassword(String account, String password);

    String encodeToken(String account, String role);

    String decodeTokenAccount(String token);

    String decodeTokenRole(String token);

    User login(String login, String password);


}
